// 调度
import layout from '@/layout'
export default {
  path: '/dispatch',
  component: layout,
  //   redirect: '',
  meta: {
    title: '调度管理',
    icon: 'el-icon-s-operation'
  },
  children: [
    // 子路由
    {
      path: 'task',
      component: () => import('@/views/task'),
      //   redirect: '',
      meta: {
        title: '运输任务管理'
      }
    },
    {
      path: 'line',
      component: () => import('@/views/line'),
      //   redirect: '',
      meta: {
        title: '线路管理'
      }
    },
    {
      path: 'ptask',
      component: () => import('@/views/ptask'),
      //   redirect: '',
      meta: {
        title: '取件作业管理'
      }
    },
    {
      path: 'dispatchTask',
      component: () => import('@/views/dispatchTask'),
      //   redirect: '',
      meta: {
        title: '派件作业管理'
      }
    }
  ]
}
